package com.wu.pojo;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true) //链式编程
@TableName("student")    //这个是要与你的dao层mapper继承类里写的，让它知道你是什么类型的数据
public class User {
    private int id;
    private String name;
    private int age;
}
